package musicbrainz;

import java.util.ArrayList;

import org.w3c.dom.Document;
import org.w3c.dom.NodeList;

public class ReleaseArrayMB {
	
	public ArrayList<ReleaseMB> arr;
	
	public ReleaseArrayMB(Document doc){
		arr = new ArrayList<ReleaseMB>();
		NodeList nl = doc.getElementsByTagName("release");
		for (int i = 0; i < nl.getLength(); i++) {
			ReleaseMB r = new ReleaseMB(nl.item(i));
			arr.add(r);
		}
	}

}
